package cn.sdstudio.entity;


import cn.sdstudio.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Zyq
 * @version 1.0
 * @date 2025/5/16 周五
 */

@Data
@TableName("sys_user")
@Builder
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@NoArgsConstructor
public class User extends BaseEntity {

    private String username;

    /**
     * 请求携带,响应去除
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String password;

    private String nickname;

    private String email;

    private Integer gender;

    private String icon;

    private String description;

    private Integer level;

    private Integer punchCount;

    private BigDecimal distanceKm;

    private Integer shareCount;

    private Integer status;



}
